package com.megalith.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2022/7/16
 * @Version 1.0
 */
@Data
@ApiModel(value = "UserGroupDTO",description = "用户组dto")
public class UserGroupDTO implements Serializable {
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "name",required = true)
    @NotBlank(message = "name不能为空")
    private String name;

    @ApiModelProperty(value = "type",required = true)
    @NotBlank(message = "type不能为空")
    private String type;
}
